<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Symbian/S60 Camera Wrapper Library: MCameraEngineObserver Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.7.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>MCameraEngineObserver Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="MCameraEngineObserver" -->
<p>Camera engine observer interface (pure virtual).  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="cameraengineobserver_8h_source.html">cameraengineobserver.h</a>&gt;</code></p>

<p><a href="class_m_camera_engine_observer-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_camera_engine_observer.html#ad9928e95941a8a9ec0d2126a3bd6f33b">MceoCameraReady</a> ()=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_camera_engine_observer.html#a9c24d9333a9601d25b8c02325ac8add2">MceoFocusComplete</a> ()=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_camera_engine_observer.html#a65b3035a1bf79540b1cb3c612baecd2b">MceoCapturedDataReady</a> (TDesC8 *aData)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_camera_engine_observer.html#aa3ec47bdc8f92a37b99f876d729d3f38">MceoCapturedBitmapReady</a> (CFbsBitmap *aBitmap)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_camera_engine_observer.html#af12936450470d093b555deca3546e13a">MceoViewFinderFrameReady</a> (CFbsBitmap &amp;aFrame)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_camera_engine_observer.html#a453a5994680f5a598368ffd1ba87c895">MceoHandleError</a> (<a class="el" href="cameraengineobserver_8h.html#ad5a808436e09c24968c2e22e9d5be81e">TCameraEngineError</a> aErrorType, TInt aError)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_camera_engine_observer.html#ab1ba67bb5887a62ad616bc0ade25744e">MceoHandleOtherEvent</a> (const TECAMEvent &amp;aEvent)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Camera engine observer interface (pure virtual). </p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ad9928e95941a8a9ec0d2126a3bd6f33b"></a><!-- doxytag: member="MCameraEngineObserver::MceoCameraReady" ref="ad9928e95941a8a9ec0d2126a3bd6f33b" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void MCameraEngineObserver::MceoCameraReady </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Camera is ready to use for capturing images. </p>

</div>
</div>
<a class="anchor" id="a9c24d9333a9601d25b8c02325ac8add2"></a><!-- doxytag: member="MCameraEngineObserver::MceoFocusComplete" ref="a9c24d9333a9601d25b8c02325ac8add2" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void MCameraEngineObserver::MceoFocusComplete </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Camera AF lens has attained optimal focus </p>

</div>
</div>
<a class="anchor" id="a65b3035a1bf79540b1cb3c612baecd2b"></a><!-- doxytag: member="MCameraEngineObserver::MceoCapturedDataReady" ref="a65b3035a1bf79540b1cb3c612baecd2b" args="(TDesC8 *aData)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void MCameraEngineObserver::MceoCapturedDataReady </td>
          <td>(</td>
          <td class="paramtype">TDesC8 *&nbsp;</td>
          <td class="paramname"> <em>aData</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Captured data is ready - call <a class="el" href="class_c_camera_engine.html#a507fa3f0d5d5033c0e20d8e4b1fa3f8e">CCameraEngine::ReleaseImageBuffer()</a> after processing/saving the data (typically, JPG-encoded image) </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aData</em>&nbsp;</td><td>Pointer to a descriptor containing a frame of camera data. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa3ec47bdc8f92a37b99f876d729d3f38"></a><!-- doxytag: member="MCameraEngineObserver::MceoCapturedBitmapReady" ref="aa3ec47bdc8f92a37b99f876d729d3f38" args="(CFbsBitmap *aBitmap)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void MCameraEngineObserver::MceoCapturedBitmapReady </td>
          <td>(</td>
          <td class="paramtype">CFbsBitmap *&nbsp;</td>
          <td class="paramname"> <em>aBitmap</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Captured bitmap is ready. after processing/saving the image, call <a class="el" href="class_c_camera_engine.html#a507fa3f0d5d5033c0e20d8e4b1fa3f8e">CCameraEngine::ReleaseImageBuffer()</a> to free the bitmap. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aBitmap</em>&nbsp;</td><td>Pointer to an FBS bitmap containing a captured image. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af12936450470d093b555deca3546e13a"></a><!-- doxytag: member="MCameraEngineObserver::MceoViewFinderFrameReady" ref="af12936450470d093b555deca3546e13a" args="(CFbsBitmap &amp;aFrame)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void MCameraEngineObserver::MceoViewFinderFrameReady </td>
          <td>(</td>
          <td class="paramtype">CFbsBitmap &amp;&nbsp;</td>
          <td class="paramname"> <em>aFrame</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>A new viewfinder frame is ready. after displaying the frame, call <a class="el" href="class_c_camera_engine.html#a2356ff9c8f6deb1b60e52329c0859b5a">CCameraEngine::ReleaseViewFinderBuffer()</a> to free the bitmap. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aFrame</em>&nbsp;</td><td>Pointer to an FBS bitmap containing a viewfinder frame. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a453a5994680f5a598368ffd1ba87c895"></a><!-- doxytag: member="MCameraEngineObserver::MceoHandleError" ref="a453a5994680f5a598368ffd1ba87c895" args="(TCameraEngineError aErrorType, TInt aError)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void MCameraEngineObserver::MceoHandleError </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="cameraengineobserver_8h.html#ad5a808436e09c24968c2e22e9d5be81e">TCameraEngineError</a>&nbsp;</td>
          <td class="paramname"> <em>aErrorType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TInt&nbsp;</td>
          <td class="paramname"> <em>aError</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Notifies clients about errors in camera engine. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aErrorType</em>&nbsp;</td><td>type (category) of error. </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="cameraengineobserver_8h.html#ad5a808436e09c24968c2e22e9d5be81e" title="Enumeration for camera engine error categories.">TCameraEngineError</a> </dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aError</em>&nbsp;</td><td>Symbian system-wide error code. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab1ba67bb5887a62ad616bc0ade25744e"></a><!-- doxytag: member="MCameraEngineObserver::MceoHandleOtherEvent" ref="ab1ba67bb5887a62ad616bc0ade25744e" args="(const TECAMEvent &amp;aEvent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void MCameraEngineObserver::MceoHandleOtherEvent </td>
          <td>(</td>
          <td class="paramtype">const TECAMEvent &amp;&nbsp;</td>
          <td class="paramname"> <em>aEvent</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Notifies client about other events not recognized by camera engine. The default implementation is empty. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aEvent</em>&nbsp;</td><td>Camera event </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd>MCameraObserver2::HandleEvent() </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="cameraengineobserver_8h_source.html">cameraengineobserver.h</a></li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Enumerations</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address class="footer"><small>Generated on Sat Sep 11 2010 22:34:42 for Symbian/S60 Camera Wrapper Library by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
